package com.splic.common.enums;

/**
 * 订单状态
 * 
 * @author ruoyi
 */
public enum OrderStatusEnum
{
    UN_PAY(0,"un_pay"),
    PAY_SUCCESS(1,"pay_success"),
    REFUNDING(2,"refunding"),
    REFUNDED(3,"refunded");

    private Integer code;
    private String name;

    OrderStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
